package weather;

public class WeatherStation {

    public static void main(String[] args) {
        WeatherData weatherData = new WeatherData(2000);
        WindData windData = new WindData();
        WindDisplay windDisplay = new WindDisplay(windData);
        DewPointDisplay dewPointDisplay = new DewPointDisplay(weatherData);
        CurrentConditionsDisplay currentDisplay = new CurrentConditionsDisplay(weatherData);
        StatisticsDisplay statisticsDisplay = new StatisticsDisplay(weatherData);

//		ForecastDisplay forecastDisplay = new ForecastDisplay(5,weatherData);
/*
        weatherData.setMeasurements(25, 65, 30.4f);
        System.out.println("");
        weatherData.setMeasurements(27, 70, 29.2f);
        System.out.println("");
        weatherData.setMeasurements(21, 90, 29.2f);
        System.out.println("");
        windData.setMeasurements(5, 100, 'N');
        System.out.println("DONE!");
        * 
        */
        try
         {
            Thread.currentThread().sleep (100000);
         } catch (Exception e)
         {
         }
    }
}